<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
        <title>{$title} - {$settings.shopname}</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <link href="{$docroot}static/css/wshop_main_style.css?v={$cssversion}" type="text/css" rel="Stylesheet" />
        <script type="text/javascript" src="{$docroot}static/script/jquery-2.1.1.min.js?v={$cssversion}"></script>
        <script type="text/javascript" src="{$docroot}static/script/main.js?v={$cssversion}"></script>
    </head>
    <body>
        <input type="hidden" value="{$Query.searchkey}" id="searchkey" />
        <input type="hidden" value="{$cat}" id="cat" />
        <input type="hidden" value="{$serial_id}" id="serial_id" />
        <input type="hidden" value="{$orderby}" id="orderby" />

        {include file="../global/search_box1.tpl"}

        <div class="clearfix" id="viewCat">
            <div id="viewCatLeft">
                {foreach from=$topcat item=tc}
                    <div class="viewCatTopItem Elipsis" data-catid="{$tc.cat_id}">{$tc.cat_name}</div>
                {/foreach}
            </div>
            <div id="viewCatRight"></div>
        </div>

        {*        <!-- cat descs -->
        <div class='cat_descs'>
        {$cat_descs}
        </div>
        <!-- cat descs -->*}

        <script type="text/javascript">
            WeixinJSBridgeReady(catListOnload);
        </script>
        <div class="bottom_nav">  
            <a class="nav_index {if $pageStr eq 'Index-Index'}hover{/if}" data-href="{$docroot}"><i></i>购物</a>
            <a class="nav_search {if $pageStr eq 'vProduct-view_category'}hover{/if}" data-href="{$docroot}?/vProduct/view_category/"><i></i>搜索</a>
            <a class="nav_shopcart {if $pageStr eq 'Order-cart'}hover{/if}" data-href="{$docroot}?/Order/cart"><i></i>购物车</a>
            <a class="nav_me {if $pageStr eq 'Uc'}hover{/if}" data-href="{$docroot}?/Uc/home"><i></i>个人中心</a>
        </div>
    </body>
</html>